package com.youmans.dfsservice.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.youmans.dfsservice.entity.YoumansPicture;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 图片表 服务类
 * </p>
 *
 * @author youmans
 * @since 2022-10-16
 */
@Service
public interface YoumansPictureService extends IService<YoumansPicture> {

    List<YoumansPicture> findAll();

    List<YoumansPicture> findAllByUserId(HttpServletRequest request);

    IPage<YoumansPicture> selectDelPic(@RequestParam String begin, @RequestParam String id);

    void batchDelBack(List<String> idList);
}
